home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
database
/
zpatch.zip
/
ZIPPATCH.BAT
< prev
Wrap
DOS Batch File
|
1995-12-08
|
4KB
|
110 lines
@echo off
rem
rem
rem QuickBooks Deluxe Zip Code Directory License Patch
rem Batch File installer for versions 3.0, 3.1 and Pro
rem online version
rem
rem
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ QuickBooks Deluxe for Windows ║
echo ║ CD-ROM Zip Code Directory License Patch ║
echo ╠═══════════════════════════════════════════════════════════════════════════╣
echo ║ ║
if not exist zippatch.bat goto needdisk
if not exist extra40d.exe goto needexe
if "%1"=="" goto nodest
goto install
:needdisk
echo ║ This install program must be run from the current directory. Please make ║
echo ║ sure that ZIPPATCH.BAT and the file EXTRA40D.EXE are both in the current ║
echo ║ directory. ║
goto endbatch
:needexe
echo ║ Install can not find the file EXTRA40D.EXE. Please make sure that both ║
echo ║ EXTRA40D.EXE and ZIPPATCH.BAT are in the current directory. ║
goto endbatch
:nodest
if exist ziw.cfg goto unspec
if exist zip.exe goto vangogh
echo ║ This installer will patch the Zip Code Directory shipped with your CD-ROM ║
echo ║ version of QuickBooks. This patch removes the 1 year limit imposed by ║
echo ║ the software. ║
echo ║ ║
echo ║ To use this patch, QuickBooks must not be running. Please make sure that ║
echo ║ either Windows is not running or neither QuickBooks nor any of its ║
echo ║ components are in the Task List (Windows 3.1) or on the TaskBar (Windows ║
echo ║ 95). ║
echo ║ ║
echo ║ Make sure the files ZIPPATCH.BAT and EXTRA40D.EXE are in the QuickBooks ║
echo ║ directory. Also ensure that the QuickBooks directory is the current ║
echo ║ directory, and type ZIPPATCH at the DOS prompt. ║
goto endbatch
:unspec
echo ║ Installing Zip Code Directory License Patch for QuickBooks for Windows ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
extra40d .
if errorlevel 0 goto OkEndBatch
goto BadTry
:install
if exist %1\zip.exe goto vangogh
if not exist %1\ziw.cfg goto nozip
echo ║ Installing Zip Code Directory License Patch for QuickBooks for Windows ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
extra40d %1
if errorlevel 0 goto OkEndBatch
:BadTry
echo ╔═══════════════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Could not install the patch for the Zip Code Directory. Please be sure ║
echo ║ that you specified the location of a valid installation of the Zip Code ║
echo ║ directory supplied with the QuickBooks CD-ROM. ║
goto endbatch
:nozip
echo ║ Can't locate the Zip Code Directory for QuickBooks Deluxe in the ║
echo ║ directory specified. Make sure that the current directory contains ║
echo ║ QuickBooks and the files ZIPPATCH.BAT and EXTRA40D.EXE. Then type ║
echo ║ ZIPPATCH at the DOS prompt. ║
goto endbatch
:vangogh
echo ║ No Update Necessary ║
echo ║ ║
echo ║ Install found a later edition of QuickBooks in the target directory. ║
echo ║ This patch is only necessary for older editions of the Zip Code ║
echo ║ directory. Your installation does not need to be updated. ║
goto endbatch
:endbatch
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════════╝
echo.
rem fall through....
:OkEndBatch